package com.hzsk.lisence.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.hzsk.lisence.config.myexception.BaseException;
import com.hzsk.lisence.entity.EmFileEntity;
import com.hzsk.lisence.entity.query.EmFileQuery;
import com.hzsk.lisence.entity.query.IDCInfoQuery;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @Description :
 * @Date : 2024/8/29
 * @Author : ChenJin
 * @Version : v1.0.0
 **/
public interface EmFileService {

    void uploadFile(MultipartFile file,String type,String prodType,Integer userId,String description) throws BaseException, IOException;
    
    List<EmFileEntity> getFileList(EmFileQuery emFileQuery);

    PageInfo<EmFileEntity> getFilePage(EmFileQuery emFileQuery);
    
    void deleteById(Integer id) throws BaseException;
    
    Map getEmpowerFile(IDCInfoQuery idcInfoQuery) throws BaseException;
    
//    int getFunctionsFile() throws BaseException;
    
}
